<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="author" content="order by dede58.com"/>
<title>DeathGhost-用户中心</title>
<meta name="keywords" content="DeathGhost,DeathGhost.cn,web前端设,移动WebApp开发" />
<meta name="description" content="DeathGhost.cn::H5 WEB前端设计开发!" />
<meta name="author" content="DeathGhost"/>
<link href="style/style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="js/public.js"></script>
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/jqpublic.js"></script>
<!--
Author: DeathGhost
Author URI: http://www.deathghost.cn
-->
</head>
<body>
<header>
 <jsp:include   page="../commen/head.jsp" flush="true"/>
</header>
<!--Start content-->
<section class="Psection MT20">
 <jsp:include   page="../commen/nav.jsp" flush="true"/>
 <article class="U-article Overflow">
  <!--user Address-->
  <section class="Myaddress Overflow">
   <span class="MDtitle Font14 FontW Block Lineheight35">收货人信息</span>

<c:forEach var="addr" items="${list}">
   <form action="/addr/edit">
    <input type="hidden" name="id" value="${addr.id}"/>
    <table>
    <tr>
     <td width="30%" class="Font14 FontW Lineheight35" align="right">省：</td>
     <td><input type="text" name="province" value="${addr.province}"  required  class="input_name"></td>
    </tr>
    <tr>
     <td width="30%" class="Font14 FontW Lineheight35" align="right">市：</td>
     <td><input type="text" name="city" value="${addr.city}"  required  class="input_name"></td>
    </tr>
    <tr>
     <td width="30%" class="Font14 FontW Lineheight35" align="right">区：</td>
     <td><input type="text" name="area" value="${addr.area}"  required class="input_name"></td>
    </tr>
    <tr>
     <td width="30%" class="Font14 FontW Lineheight35" align="right">收件人姓名：</td>
     <td><input type="text" name="username" value="${addr.username}"  required  class="input_name"></td>
    </tr>
    <tr>
     <td width="30%" class="Font14 FontW Lineheight35" align="right">街道地址：</td>
     <td><input type="text" required name="street" value="${addr.street}" size="50"  class="input_addr"></td>
    </tr>
    <tr>
     <td width="30%" class="Font14 FontW Lineheight35" align="right">手机号码：</td>
     <td><input type="text" name="phone" value="${addr.phone}" required pattern="[0-9]{11}" class="input_tel"></td>
    </tr>
    <tr>
     <td align="right"  width="30%" class="Font14 FontW Lineheight35"></td>
     <td class="Lineheight35">
      <input name="" type="submit" value="确认修改" class="Submit">
      <a href="/addr/del?id=${addr.id}" class="Submit">删除</a>
     </td>
    </tr>
   </table>
   </form>
</c:forEach>
   <!--add new address-->
   <form action="/addr/add">
    <table style="margin-top:10px;">
     <tr>
      <td width="30%" class="Font14 FontW Lineheight35" align="right">省：</td>
      <td><input type="text" name="province" required  class="input_name"></td>
     </tr>
     <tr>
      <td width="30%" class="Font14 FontW Lineheight35" align="right">市：</td>
      <td><input type="text" name="city" required  class="input_name"></td>
     </tr>
     <tr>
      <td width="30%" class="Font14 FontW Lineheight35" align="right">区：</td>
      <td><input type="text" name="area"  required class="input_name"></td>
     </tr>
     <tr>
      <td width="30%" class="Font14 FontW Lineheight35" align="right">收件人姓名：</td>
      <td><input type="text" name="username"   required  class="input_name"></td>
     </tr>
     <tr>
      <td width="30%" class="Font14 FontW Lineheight35" align="right">街道地址：</td>
      <td><input type="text" required name="street" size="50"  class="input_addr"></td>
     </tr>
     <tr>
      <td width="30%" class="Font14 FontW Lineheight35" align="right">手机号码：</td>
      <td><input type="text" name="phone" required pattern="[0-9]{11}" class="input_tel"></td>
     </tr>
    <tr>
     <td width="30%" class="Font14 FontW Lineheight35" align="right"></td>
     <td class="Font14 Font Lineheight35"><input name="" type="submit" value="新增收货地址"  class="Submit"></td>
    </tr>
   </table>
   </form>
  </section>
 </article>
</section>
<!--End content-->
<div class="F-link">
  <span>友情链接：</span>
  
  
  
  
 </div>
<footer>
 <section class="Otherlink">
  <aside>
   <div class="ewm-left">
    <p>手机扫描二维码：</p>
    <img src="images/Android_ico_d.gif">
    <img src="images/iphone_ico_d.gif">
   </div>
   <div class="tips">
    <p>客服热线</p>
    <p><i>1830927**73</i></p>
    <p>配送时间</p>
    <p><time>09：00</time>~<time>22:00</time></p>
    <p>网站公告</p>
   </div>
  </aside>
  <section>
    <div>
    <span><i class="i1"></i>配送支付</span>
    <ul>
     <li><a href="article_read.html" target="_blank" title="标题">支付方式</a></li>
     <li><a href="article_read.html" target="_blank" title="标题">配送方式</a></li>
     <li><a href="article_read.html" target="_blank" title="标题">配送效率</a></li>
     <li><a href="article_read.html" target="_blank" title="标题">服务费用</a></li>
    </ul>
    </div>
    <div>
    <span><i class="i2"></i>关于我们</span>
    <ul>
     <li><a href="article_read.html" target="_blank" title="标题">招贤纳士</a></li>
     <li><a href="article_read.html" target="_blank" title="标题">网站介绍</a></li>
     <li><a href="article_read.html" target="_blank" title="标题">配送效率</a></li>
     <li><a href="article_read.html" target="_blank" title="标题">商家加盟</a></li>
    </ul>
    </div>
    <div>
    <span><i class="i3"></i>帮助中心</span>
    <ul>
     <li><a href="article_read.html" target="_blank" title="标题">服务内容</a></li>
     <li><a href="article_read.html" target="_blank" title="标题">服务介绍</a></li>
     <li><a href="article_read.html" target="_blank" title="标题">常见问题</a></li>
     <li><a href="article_read.html" target="_blank" title="标题">网站地图</a></li>
    </ul>
    </div>
  </section>
 </section>
<div class="copyright">© 版权所有 2020 
</footer>
</body>
</html>
